// import { netMemberStep } from "./../service/TaskService";
export const NameSpace = "attendanceModel";

function createAction(action, payload) {
  return { type: `${NameSpace}/${action}`, payload };
}

export const Actions = {
  actionSelectBanci(params) {
    return createAction('SelectBanci', params)
  },

};
export default {
  namespace: NameSpace,
  state: {
    SelectBanci:null,
  },
  reducers: {
    selectBanci(state, { payload }) {
      return {
        ...state,
        SelectBanci: payload.Banci,
      }
    },
  },
  asyncTasks: {
    // asyncMemberInfo({ dispatch }, { payload }) {
    //   netMemberStep(payload)
    //     .then(function (data) {
    //       dispatch(actionMember(data));
    //     })
    //     .catch(function (error) {
    //       LogUtil.err(error);
    //     });
    // },
   
  }
};
